#pragma once
#include "triggeraction.h"
#include "PSysFromScript.h"

class PSysAction :
	public TriggerAction
{
	Ogre::SceneManager * mSceneMgr;
	Ogre::String script;
	PSysFromScript * effect;

public:

	bool FireTrigger(EntityControl *entity);

	PSysAction(Ogre::SceneManager * mSceneMgr,Ogre::String scpt);
	~PSysAction(void);
};

